<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body onload="foco();">
	<ui:composition template="../template.xhtml">
		<ui:define name="miolo">
   			<p:growl id="erros"/> 
			<h:form id="DEAnalise" enctype="multipart/form-data">
				<p:panel id="panel" header="#{msgs.manintenaceAnalysis}">
					<table width="100%">
						<tr valign="middle">
							<td width="40px" align="left"><p:commandButton
									value="#{msgs.record}" action="#{analiseFrm.gravar}"
									update="erros" /></td>
							<td align="right"><p:commandButton value="#{msgs.regress}"
									action="lista.faces" ajax="false"/>
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td class="rotulo">
								<h:outputText value="#{msgs.project}:"/>
							</td>
							<td>
								<h:selectOneMenu styleClass="select" id="project"
									value="#{analiseFrm.projetoSelecionado}">
									<f:selectItems value="#{analiseFrm.colectionProject}"/>
								</h:selectOneMenu>
							</td>
						</tr>
						<tr>
							<td class="rotulo">
								<ul>
									<li><h:outputText value="#{msgs.fasta}"/> </li>
								</ul>
								
							</td>
							<td>
								<p:fileUpload
									fileUploadListener="#{analiseFrm.fastaFileUpload}"
									mode="advanced" label="Upload" allowTypes="fasta"/>
							</td>
						</tr>
						<tr>
							<td colspan="1">								
									<ul>
								    <li type="circle"><h:outputText value="RepeatMasker"/></li>
								    </ul>
							</td>
							<td>
							<p:fileUpload fileUploadListener="#{analiseFrm.outFileUpload}"  
            					mode="advanced"  
            					label="Upload" allowTypes="out"/>  
							</td>
						</tr>
						<tr>
							<td colspan="1">								
									<ul>
								    <li type="circle"><h:outputText value="UCSC"/></li>
								    </ul>
							</td>
							<td>
							<p:fileUpload fileUploadListener="#{analiseFrm.ucscFileUpload}"  
            					mode="advanced"  
            					label="Upload" allowTypes="ucsc"/>  
							</td>
						</tr>
						<tr>
							<td colspan="1">
								<h:outputText value="BED"/>
							</td>
							<td>
							<p:fileUpload fileUploadListener="#{analiseFrm.outFileUpload}"  
            					mode="advanced"  
            					label="Upload" allowTypes="bed"/>  
							</td>
						</tr>
						<tr>
							<td colspan="1">
								<h:outputText value="GFF"/>
							</td>
							<td>
							<p:fileUpload fileUploadListener="#{analiseFrm.outFileUpload}"  
            					mode="advanced"  
            					label="Upload" allowTypes="gff"/>  
							</td>
						</tr>
						<tr>
							<td colspan="1">
								<h:outputText value="GTF"/>
							</td>
							<td>
							<p:fileUpload fileUploadListener="#{analiseFrm.outFileUpload}"  
            					mode="advanced"  
            					label="Upload" allowTypes="gtf"/>  
							</td>
						</tr>
					</table>
				</p:panel>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>

